#include"vector.h"
#include<vector>
#include<string>
#include<list>
int main()
{
	/*my::vector<int> d1;
	my::vector<int> d2;
	d2 = d1;
	vector<int> d = { 1,2,3,4,5,6 };
	for (auto e : d)
	{
		cout << e << " ";
	}
	cout << endl;
	string s1({1,2});
	cout << s1;*/
	/*vector<string> s1;
	s1.push_back("111111111111111111111");
	s1.push_back("111111111111111111111");
	s1.push_back("111111111111111111111");
	s1.push_back("111111111111111111111");
	s1.push_back("111111111111111111111");
	s1.push_back("111111111111111111111");
	s1.push_back("111111111111111111111");
	for (auto e : s1)
	{
		cout << e << " ";
	}*/
	greater<int> cmp;
	list<int> d1 = { 1,2,54,7,23,5,1 };
	d1.sort(cmp);
	for (auto e : d1)
	{
		cout << e << " ";
	}
	return 0;
}